package com.eric.service;

import cn.dev33.satoken.util.SaResult;
import com.eric.domain.dto.ProfessionalCategoryDTO;
import com.eric.domain.vo.ProfessionalCategoryVO;
import com.mybatisflex.core.service.IService;
import com.eric.domain.po.ProfessionalCategory;

/**
 *  服务层。
 *
 * @author eric.deng
 * @since 2025-03-05
 */
public interface ProfessionalCategoryService extends IService<ProfessionalCategory> {

    SaResult saveOneService(ProfessionalCategoryVO professionalCategoryVO);

    SaResult updateByIdService(ProfessionalCategoryDTO professionalCategoryDTO);

    SaResult getListByPageService(Integer cur, Integer pageSize);

    SaResult getListByNameService(String name, Integer cur, Integer pageSize);

    SaResult getListByNameCountService(String name);
}
